package com.yl.auth.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yl.auth.model.entity.Laoren;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.vo.LaoFangChuangVo;
import com.yl.auth.model.vo.LaorenVo;

import javax.naming.Name;
import java.io.InputStream;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yl
 * @since 2023-06-15
 */
public interface LaorenService extends IService<Laoren> {

    void savejianKuang(Laoren laoren);

    Page<LaoFangChuangVo> getPage(Page<LaoFangChuangVo> page1, String name,String searchParam);

    List<Laoren> find();

    List<Laoren> updateFind();


    Page<LaoFangChuangVo> findAll(Page<LaoFangChuangVo> page1, String name);

    void improtData(InputStream inputStream);

    String get(Long id);

    List<Laoren> listlaoren(Integer id);

    LaorenVo getLao(Long id);
}
